package com.ocom.common.request.payconfig;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

@Data
public class SetConsDeviceMealConfigRequest {

    @JsonProperty("comId")
    @NotNull(message = "comId 不能为空")
    Long comId;

    @NotBlank(message = "deviceNo 不能为空")
    String deviceNo;

    @JsonProperty("consType")
    @NotNull(message = "consType 不能为空")
    Integer consType;

    @JsonProperty("deviceMode")
    @NotNull(message = "deviceMode 不能为空")
    Integer deviceMode;


    String deviceName;
    Integer pointId;

    private String faceAuth;   // 1正式 2测试
    private Integer faceAuthType;
    String faceAuthTime;

    List<ConsDeviceMealConfigVo> configList=new ArrayList<>();
}
